package com.train.trainmanage.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.train.trainmanage.model.TrainLocoRelationModel;
@Mapper
public interface TrainLocoRelationModelMapper {
    int deleteByPrimaryKey(Integer relationId);

    int insert(TrainLocoRelationModel record);

    int insertSelective(TrainLocoRelationModel record);

    TrainLocoRelationModel selectByPrimaryKey(Integer relationId);

    int updateByPrimaryKeySelective(TrainLocoRelationModel record);

    int updateByPrimaryKey(TrainLocoRelationModel record);
    
    int updateStateByJonb();
}